<?php include("../../includes/includes.php"); ?>
<?php
connect($config);
$newPlayers = $_POST['newPlayers'];
$team = $_POST['team'];
$newPlayersList = split("\n", $newPlayers);
addPlayers($newPlayersList, $team);
mysql_close();

header( 'Location: ../home/homePage.php' ) ;
?>